.class Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;
.super Ljava/lang/Object;
.source "RecommendViewHolder.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "a"
.end annotation


# instance fields
.field a:Landroid/content/Context;

.field b:Ljava/lang/String;

.field c:Ljava/lang/String;

.field d:Les/pg;

.field final synthetic e:Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;Ljava/lang/String;Ljava/lang/String;ILandroid/content/Context;Les/pg;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->e:Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p5, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->a:Landroid/content/Context;

    .line 3
    iput-object p2, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->b:Ljava/lang/String;

    .line 4
    iput-object p3, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->c:Ljava/lang/String;

    .line 5
    iput-object p6, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->d:Les/pg;

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->c:Ljava/lang/String;

    if-nez p1, :cond_0

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result p1

    if-nez p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->a:Landroid/content/Context;

    const v0, 0x7f110640

    const/4 v1, 0x1

    invoke-static {p1, v0, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->c:Ljava/lang/String;

    invoke-static {p1}, Lcom/estrongs/android/pop/utils/k;->b(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->e:Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->a:Landroid/content/Context;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->c:Ljava/lang/String;

    invoke-static {p1, v0, v1}, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;->a(Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_0

    .line 5
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->e:Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->a:Landroid/content/Context;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->b:Ljava/lang/String;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->c:Ljava/lang/String;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->d:Les/pg;

    invoke-static {p1, v0, v1, v2, v3}, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;->a(Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Les/pg;)V

    .line 6
    :goto_0
    :try_start_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/analysis/viewholders/RecommendViewHolder$a;->d:Les/pg;

    invoke-virtual {p1}, Les/pg;->a()Ljava/lang/String;

    move-result-object p1

    .line 7
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    .line 8
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    const-string v2, "recommend_card"

    if-eqz v1, :cond_2

    :try_start_1
    const-string p1, "A_sd_recom_click"

    .line 9
    invoke-virtual {v0, v2, p1}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    .line 10
    :cond_2
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->J0(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_3

    const-string p1, "A_app_recom_click"

    .line 11
    invoke-virtual {v0, v2, p1}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_1

    :catch_0
    move-exception p1

    .line 12
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_3
    :goto_1
    return-void
.end method
